package com.xxl.dto.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author xxl
 * @date 2023/4/6
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "BlogCommentVo", title = "博客评论视图实体类")
public class BlogCommentVo {
    /**
     * 那位用户评论的
     */
    @Schema(title = "那位用户评论的")
    @NotBlank

    private String username;
    /**
     * 评论内容
     */
    @NotBlank
    @Schema(title = "评论内容")
    private String content;

    /**
     * 博客uuid
     */
    @NotBlank
    @Schema(title = "博客uuid")

    private String blogUuid;
}
